package ar.com.ctrln.control.mantenimiento.ticket;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import ar.com.ctrln.persistence.model.ticket.Ticket;
import ar.com.ctrln.services.ticket.GestorTicket;

@Controller("cerrarTicket")
public class CerrarTicket {

	@Autowired
	private GestorTicket gestorTicket;
			
	public void actualizarTicket(Ticket ticket) {
	gestorTicket.actualizar(ticket);
	}
	
	public void guardarTicket(Ticket ticket) {
		gestorTicket.guardar(ticket);
		}
		
}
